<?php

namespace app\index\model;
//use traits\model\SoftDelete;
use think\Model;

class User extends Model
{
	//use SoftDelete;
	//protected $deleteTime ='delete_time';
	protected $auto = ['qq'=>64748392];
	//protected $insert = ['status'=>1];
	//protected $update = [];
	public function profile()
	{
		return $this->hasOne('profile','user_id');
	}
	public function artical()
	{
		return $this->hasMany('artical','user_id');
	}
}